SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9c497d77e7e5008311fe200c9b5932df6383cfbf858b5a364550aa835f9d689' 
  AND token = '4zL6uaKz8fxisOITPYARoQDq8j3vjB3V3YjidGd6fEs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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