SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f1107303c31bfae9d53d22f2bc46a5b167e374cecf05d313317de235c2fd867e' 
  AND token = 'izoobKmr8UVT3Vt09G7K0zH4ZgqsLPprRxob0Mt0U/g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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