SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ba4b6d498dcc870983cfd5845423dbf067148d6a19756c55864e9a5a4f29ec1' 
  AND token = '51NMLBGW+vlJ7tlc705Eqd4yvu5FUWHUGESKbcwdjg0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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