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

Query time 0.00029

JSON explain

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