SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9b1f7977971b2f5a596c248385c2f0f1dce72a791cf77528b7a6ede32b653955' 
  AND token = 'Ynuz1ybVuAcB061HNc00lC8WxgSUD/oblfM8gujQsME=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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