SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'db7ecf7c175927cd0909be8d53e2c3d29ffa0e16a5fb288fe6a862376e7ee0a4' 
  AND token = 'oOrjxAx/HUUdWTxWiz+7/T8GHC9Oado5a4sno+N6Imc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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