SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0104fdc14bef593269967b2df21191f1953624551a04d2dc3daf2d387ada59cf' 
  AND token = 'XyNaqDLnF05QHOLPZaN8z9HiaPBtwiZEws5f+X0aGn4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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