SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0238626b0a723b6a6e06bba70da4014ac166ba5bf2053e6511582cd22963f267' 
  AND token = 'oGQZvRPvHyPq21TY5ACx4M/lOIp7hbXyS24ZMklhC7g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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