SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0351be9e36bdb6c5b53f54270d7bb3568d9e50701cdeebf1506a3353d9555df0' 
  AND token = 'L+bpa/keBwecP21TfoF0cUSj6hh+DCUEEG48BhAGP7M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00180

JSON explain

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