SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9ed513473b16eca637c22d15ba9bf1cffd41daaaf830aee72de73163fcab92e' 
  AND token = 'M0ihnFT821gogIOJCeuufK2Z1kdnNy43q/e6rNDbwRc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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