SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a97bebf1168defe2ec52342bfed8d317efc5aeb55af645ad41ffd9fa5222016d' 
  AND token = 'De7zUcx7in8pIJR+mrOZbyGMKcXr6wrYeNyNlNN8rgI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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