SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '501d51da329328a5e33573536b324b9cf9b2075ac95a249e12dacd988361d25d' 
  AND token = 'peMoNrcNGr7w3Pgo2APnHr0h0aoam8fTSPYNd1Zs6x0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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