SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f9845ca3f02cf40334ed4284b220710d2f288301575d38e6081d7021fef18e9' 
  AND token = 'lpe8X7EFjJctzSh2hdc3tEfFNkQ6qyaapv4m5WuoC84=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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