SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b34146d596e3516a4cb55f6db5887375537c3ec1f492353055da2653d4f21418' 
  AND token = 'Hh444Ej8OcYh1W7G2dOB0XE+dbw2m2qcAL/uAK0EbMs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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