SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '584837fb8517a4f7a947a3a080f99937e2c7f0cfbbe79bdb5322e4d5d0ba5886' 
  AND token = 'eTwUNRuLrRs3e7ylo5rEKk/kYJvVLLhmF5q55gnVuCU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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