SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '34527795317298aed38de6336cbfd40022d131ab22e8ec985d13aef67263ea87' 
  AND token = 'BN8mG7WMnhvk0S8xVd+K4K/3WNH2NvqCWva57AYxzrc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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