SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b1fa6ee313dbb5ec5c8677a92f947775ef783b47d5a86ddded642a49d44053df' 
  AND token = 'PDjd7Q9RyapNTHFSbYa6P0vgMbWDlOvjkL2Mm+o3EpA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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