SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd67f2b3c010a04fb714296d8a984cb3b5d4f5667a2a49d6ed5b9afb5b6b4259' 
  AND token = 'NOtD+YkNi21X8QZxfAqiH6czW22vu5ER60l44G2fqHM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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