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

Query time 0.00032

JSON explain

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