SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1d7872c4da74305a466b78c5a60b958604bba27d5e8e5bf46c31d6705b7b39f' 
  AND token = '7/fsH4IxlD0ZSuD9PtwTzcPjPq8ywPOVPsreJ78ZvRA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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