SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21cdce5715f44840fdb266965f23c7227fde81dffa0c60de47391f3c6d7f35ca' 
  AND token = '5dTfFrd3RkZWWejIVB76usEwNAIvw6Dp3zHw/Uniy/Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}