SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '49c7a94e833e9a6eb7169b75964d15cccbea49c903e40941708a456b3e13d08c' 
  AND token = 'NN0EaunsOi+jPYhKl9SdVUubh8T50H8vyCEk0BDuBYs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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