SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01ebdf4c5bb03a5e0c813415029f84d07e175f120ea789b8904392e6be23c10d' 
  AND token = 'kgbyCQV5GciCN2VqJBC0LHzWO20L3TmovBFMGeegOmE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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