SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e515a7dca37360fdd762c24ca027f782bd78ac8c9833edf77a012113769c73df' 
  AND token = 'HFmgJa8099ik2GEUT71m70Tjpi0hdoh1wV5hL3/FwOA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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