SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2536ef1f1a077c1d5dca30d42cbcd705652b4c69efca40a073e0916a1d68887c' 
  AND token = 'Ly4EOgPyv32ixe5KNPfqS2pgCS8rfzJUKH6LCD2R/ro=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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