SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7e490f0643a3c6c4437b144539faff9abb970e1859713d7b16add02841947b4' 
  AND token = 'aJdLhZVDqBwNjWf2Ck8wB0JEE6u0CH9/HuBznFOzr+A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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