SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '045b1dd511cf39d107a4a6b6317db730330a7bc784d5b9607043e666ebc22a35' 
  AND token = 'roWwjJtAmirys/q8ZinjZNst+Br1P/43RyHsAzc3SMw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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