SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7e80f0d28de0551efb674b67581bbe6df774a35d81275cc24b00f508b7d8299' 
  AND token = '1mer14YZPLyb5a1dwirPHL3CNC7HVPz5f43BDrasU4w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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