SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '635c3525db3a126a3a429130df3e9a3c4723ea24ab149383e71b42b689c26bad' 
  AND token = 'ZDg4WRtiHNywYRwGfs5Tv9gisSROVxYNI115tiCtZbk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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